//
//  ContentView.swift
//  FishingDemo
//
//  Created by 杨新威 on 2021/12/14.
//

import SwiftUI

struct ContentView: View {
    var body: some View {
        VStack {
            Text("🎣🎣\n让鱼竿尽可能接近鱼")
                .bold()
                .kerning(3.0)
                .font(.footnote)
                .multilineTextAlignment(.center)
                .lineSpacing(4.0)
            Text(/*@START_MENU_TOKEN@*/"50米"/*@END_MENU_TOKEN@*/)
            HStack {
                Text("1米")
                Slider(value: .constant(50), in: 1...100.0)
                Text("100米")
            }
            Button(action: {
                print("tap me")
            }) {
                Text("点我")
            }
        }
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
        ContentView().previewLayout(.fixed(width: 568, height: 320))
    }
}
